cmake_minimum_required(VERSION 3.17)
project(sdl_demo1_exe)

set(CMAKE_CXX_STANDARD 14)

#add_definitions("-D _DEBUG_" )
add_executable(sdl_demo1_exe WIN32 src/WinMain.cpp)

message("exe: ${SDL_LIB}")
target_link_libraries( sdl_demo1_exe
        ${SDL_LIB}
        #"sdl_demo1_lib.lib"
        core
        gdi
        game
        engine
        "Winmm.lib"
        )

#H:\tmp\wxWidgets-3.1.3\x86_build\gdi\vc_dll
#target_link_libraries(windows  )

target_include_directories(sdl_demo1_exe PUBLIC
        ${gdi_include}
        "${core_include}"
        "${engine_include}"
        "${game_include}"
        ${SDL_INCLUDE_LOCATION}
        )

target_link_directories( sdl_demo1_exe PUBLIC
        ${SDL_LIB_LOCATION}
        "../cmake-build-debug/gdi/"
        "../cmake-build-debug/core/"
        "../cmake-build-debug/engine/"
        "../cmake-build-debug/game/"
        )